<div class="view">

    <b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
    <?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id' => $data->id)); ?>
    <br/>

    <b><?php echo CHtml::encode($data->getAttributeLabel('docname')); ?>:</b>
    <?php echo CHtml::encode($data->docname); ?>
    <br/>

    <b><?php echo CHtml::encode($data->getAttributeLabel('filename')); ?>:</b>
    <?php echo CHtml::encode($data->filename); ?>
    <br/>

    <b><?php echo CHtml::encode($data->getAttributeLabel('dateadded')); ?>:</b>
    <?php echo CHtml::encode($data->dateadded); ?>
    <br/>

    <b><?php echo CHtml::encode($data->getAttributeLabel('addedby')); ?>:</b>
    <?php echo CHtml::encode($data->addedby); ?>
    <br/>

    <b><?php echo CHtml::encode($data->getAttributeLabel('notes')); ?>:</b>
    <?php echo CHtml::encode($data->notes); ?>
    <br/>

    <b><?php echo CHtml::encode($data->getAttributeLabel('locktime')); ?>:</b>
    <?php echo CHtml::encode($data->locktime); ?>
    <br/>

    <?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('lockby')); ?>:</b>
	<?php echo CHtml::encode($data->lockby); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('contractid')); ?>:</b>
	<?php echo CHtml::encode($data->contractid); ?>
	<br />

	*/ ?>

</div>